Xceed DataGrid for WPF v7.2 Documentation
RelayCommand Constructor(Action,Func<Boolean>)


Xceed.Wpf.DataGrid.ThemePack.7 Assembly > Xceed.Wpf.DataGrid.ThemePack.Common Namespace > RelayCommand Class > RelayCommand Constructor : RelayCommand Constructor(Action,Func<Boolean>)
Syntax
'Declaration
 
Public Function New( _
   ByVal execute As Action, _
   ByVal canExecute As Func(Of Boolean) _
)
'Usage
 
Dim execute As Action
Dim canExecute As Func(Of Boolean)
 
Dim instance As New RelayCommand(execute, canExecute)
public RelayCommand( 
   Action execute,
   Func<bool> canExecute
)

Parameters

execute
canExecute
Requirements

Target Platforms: Windows 11, Windows, 10, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

RelayCommand Class
RelayCommand Members
Overload List